SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7581ff987db5acd2fb6aef2171222e2dc7402ef600ee100e53d403455173f4c3' 
  AND token = '42zKgmVrSdWr9SSGoKXjTCeSGEoKR6YXt1nDyCUF9GM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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