SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca8a77889fa35e32e4218e06a953ce48aeda3d0869035cacd692e6ee5b055e6f' 
  AND token = 'CKfD/lRDTz5sHb67GlWiv3Yf/Njr4wZoiB9hsaxgL8M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}