SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f795edf5e098cc7afab488f0def0f217bf30e49ae9a92030c214e8f0801c99e' 
  AND token = 'iGmYq9Yyhtet6botxnMkrRKbS7qNZT057gzX58YeRd4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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