SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f627e783902cb3db0567b00df2e64c2eded9aa22c25b4d2449aac8d604a65f3' 
  AND token = 'Yozumd4jj5UPfW3rIr16CGQooMYjyNL21Mdf6a8x9xw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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