SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce9d2f2e6e78ab053277fc1bccc98d0b774170d58a4cd7e28af132ad03f0c6b1' 
  AND token = 'KDyb+zPmcnOzTwlZLoSofK5Ih8rjFHMiYMXBd595pAw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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