SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd18780e4b71f20576f6d7256c7fe4209c4392c91e8494aaa8b27c9206d60e216' 
  AND token = 'vJJ/SF9Ee8NoMPREPmd0ZeeMY7NNsc1GxvxVMBtpOU0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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