SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a301788923fd8275765a2a7ba5a3b980d2c18e9ccf798c9b0d69f2ea373b477f' 
  AND token = 'z7Pve1Xv9F6uRJarIEGxka16yeSYNisG8UdOeRCpwf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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