SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8514c34ada55e962e1bf76ab87de411eb4a205e3cb094d20ffab3c953d7d158' 
  AND token = 'iEg+H1pndP0rCmMFEvo/5SyKB9XdtypgGOsJtIvbjR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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