SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5249dbd81a915817d20bec14aab0e751b89deb5bb19d6f92cb404516f95c4f4b' 
  AND token = 'Uf4EbvAgyre8vWXn6kvX4AthGwMrqCAhROIhUC/UKJg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}