SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22afd4f47ff35b9584877d08528bef1e846374df43b152778bfc876932994d31' 
  AND token = 'iWohejh+Zkp4d9ZK0FhiMcRADv7+P+l9zEFb/MqWdtE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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