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

Query time 0.00024

JSON explain

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