SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50e31531ece8aa113d0ac25419a8fb1593a782490e342c12a51d9f2a026aebd5' 
  AND token = 'sSu0fisLLapptbB2ecjGReU3NIf1FygEcxz2cEVSkyc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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