SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '180c2e2846eca65435f12392e1e358d030cb9075ab61c478dd0dd0c80b7ffa08' 
  AND token = 'ICw5YBbEj4+CeniiJKdMRmd+LA5l6KY0GSC3TWjVxws=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}