SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5dbee59c9511f0cc468a87128c077a48616ff32deec065618585056b5df381e8' 
  AND token = 'aqevGdrAJNLuH7I+0RKIxbIFIMx9z92IA8UNhEhhPs4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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