SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1231510537ef5cda82d2465b90999e87d82f4ba72e209e83f55a59ce66023505' 
  AND token = 'G4KrrkGbgr2bpR1S8lQ8IkekHbm2RCHVFsLVGwTo5FU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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