SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20952ea31988ac70f6a27bc905dfafd027810674198693d89126ea692961b703' 
  AND token = 'lupRaBgktgSa5DDGZSeI1dvbl7Lh83aCptosmkAJ0AQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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