SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd582d4be03f9c363878115a28dd0a63b5506f5a2035b8fa6de0d7d50fd574e5a' 
  AND token = 'WZ3d8FlC3bXbS5Sr1uRyqLPehUDzLLewNXOAAWrB9Ek=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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