SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2bc5cd707238823bc55b1974ab39985941e3871f7e5bb6ab07f049531e5fab79' 
  AND token = 'HE/kQMW69GoMpeMhcNAXEvf3KtS1nuJIst/Cz6Ezx2I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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