SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4fca0745939682a4eede19080e523fab6f3256b047b9cd9aadef611c2a3ff85' 
  AND token = 'pGENCKj6aRM0WzEKX1r+wI7P2BKwLecspl/Llpn1+MM=' 
  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"
    }
  }
}