SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f518c85590edce8e66de7ee7669d9619039ed688f25bc0c19532dacd975028db' 
  AND token = '4RIrXFsD2KIB0+3PohkE34EVAzgHrle8/TIOhQM+cr0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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