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

Query time 0.00025

JSON explain

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