SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8dd5dc09c47c349faf8a0aebf9ddab0d019cb55b228b1079dd5632471b6e09ea' 
  AND token = 'hcPsduE3p94+V9PqkiKjfTlR6Rylrv6GNy0LdnPB0N8=' 
  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"
    }
  }
}