SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f11f94870dd10f1ae5b4b713e486c1f0e9ba005b4df70f7a9ca822fb649064fc' 
  AND token = 'Ed5F3KYF8Yd2+oE2gDhPBFJ0lAFdmFiOVs9165pAhMc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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