SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12d86163a209cf328f4bfb1779d9c482ca2f1d3034c87fdce4cd44ec5b675e69' 
  AND token = 'g4iatskuQFyNKyGp1yZXJ55isEI/cKqnGRuJFVc8Xbw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}