SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27b418baa9f57bb456bb7292f9ac391025708c2817e9407798c6b8d46b5d9ba0' 
  AND token = '8onlvwlf6d+IfOFLj8bSWnocW/7bkmAy3tNZcgODXK8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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